<?php
class private_messages extends db_table {
	/**
	 * Faq ID
	 *
	 * @var db_field
	 */
	public $pm_id;
	/**
	 * ID of user, whos get this message
	 *
	 * @var db_field
	 */
	public $user_id;
	/**
	 * ID of user, whos sent this message
	 *
	 * @var db_field
	 */
	public $sender_id;
	/**
	 * Kind of message's folder
	 *
	 * @var db_field
	 */
	public $pm_box;
	/**
	 * Date when the message was sent
	 *
	 * @var db_field
	 */
	public $pm_send_date;
	/**
	 * Date when the message was read
	 *
	 * @var db_field
	 */
	public $pm_read_date;
	/**
	 * Subject of message
	 *
	 * @var db_field
	 */
	public $pm_subject;
	/**
	 * ???
	 *
	 * @var db_field
	 */
	public $pm_sent_id;

	/**
	 * Constructor
	 *
	 * @param mixed $id
	 */
	public function __construct($id = null) {
		parent::__construct($id);
	}
	
	public static function box_inbox() {
		return "inbox";
	}
	
	public static function box_outbox() {
		return "outbox";
	}
	
	public static function box_trash() {
		return "trash";
	}
}
?>